package com.docmgmt.mvp;

import lombok.extern.slf4j.Slf4j;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@Slf4j
@SpringBootApplication
@MapperScan("com.docmgmt.mvp.mapper")
public class DocManagementMvpApplication {

    public static void main(String[] args) {
        SpringApplication.run(DocManagementMvpApplication.class, args);
        
        log.info("========================================");
        log.info("Document Management System v3.0 Started");
        log.info("访问地址（应用启动后）：\n" +
                "- API文档: http://localhost:8080/doc.html\n" +
                "- 健康检查: http://localhost:8080/api/v1/health\n" +
                "- 系统信息: http://localhost:8080/api/v1/system/info");
        log.info("========================================");
    }
}
